package top.mschen.blog.common.exception;

public class TopChenException extends RuntimeException{

    private String errorCode;

    private String message;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public TopChenException(String message,String errorCode) {
        super(message);
        this.errorCode = errorCode;
    }
}
